home *** CD-ROM | disk | FTP | other *** search
/ Java Programmer's Toolkit / Java Programmer's Toolkit.iso / gs3.53 / ps2ascii.bat < prev    next >
DOS Batch File  |  1996-01-10  |  328b  |  13 lines

  1. @echo off
  2. if '%1'=='' goto a0
  3. if '%2'=='' goto a1
  4. gs -q -dNODISPLAY -dNOBIND -dWRITESYSTEMDICT -dSIMPLE ps2ascii.ps %1 -c quit >%2
  5. goto x
  6. :a0
  7. gs -q -dNODISPLAY -dNOBIND -dWRITESYSTEMDICT -dSIMPLE ps2ascii.ps - -c quit
  8. goto x
  9. :a1
  10. gs -q -dNODISPLAY -dNOBIND -dWRITESYSTEMDICT -dSIMPLE ps2ascii.ps %1 -c quit
  11. goto x
  12. :x
  13.